Len

Definition:

Len(string)

 

Description:

Counts the number of characters in a string.

 

Platforms:

All

 

Parameters:

string - required

The string whose length you want to find.

 

Returns:

0

Original string is empty.

 

>0

Number of characters in the string.

 

Notes:

On the Windows Desktop Platform, carriage returns within a string take up two characters (CR/LF), but on all other Platforms they will account for just one. When using this Method, bear in mind that if your string may contain carriage returns, the returned length will appear greater than the number of visible characters.